home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: news-relay.eworld.com!zdc!zippo!usenet
- From: Jim McFarland <jgm6@orkand.em.cdc.gov>
- Subject: Re: Java Compiler
- Content-Type: text/plain; charset=us-ascii
- Sender: usenet@news.zippo.com
- Content-Transfer-Encoding: 7bit
- Nntp-Posting-Host: 158.111.166.77
- Organization: The Orkand Corporation
- Message-ID: <DLos38.801@news.zippo.com>
- References: <30FD6D58.B3B@gate.net>
- X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
- Mime-Version: 1.0
- Date: Wed, 24 Jan 1996 12:59:32 GMT
-
- Hal Cline <winfield@gate.net> wrote:
- >Hello,
- >
- >I am trying to compile some java script but am having a problem with
- >javac.
- >
- >The steps I take are:
- >
- >1)I launch DOS from Win95
- >2)go the javac.exe in the subdirectory- e:\Java\hotjava\bin
- >3)launch javac.exe
- >4)I am getting the following message:
- >use: javac [-g] [-0] [-debug] [-depend] [-nowarn] [-verbose] [-classpath
- >path] [-nowrite] [-d dir] file.java...
- >
- >Does this make any sense to anyone?
- >
- >Please advise and email me at winfield@gate.net
- >
- Yes, but first of all, you are in the wrong newsgroup. Try
- comp.lang.java in the future. The message you are getting shows how to
- use javac. It is a list of command line arguments you can use with
- javac. Running javac with no arguments does nothing but display
- this usage message. You must at least give javac the name of the java
- source you are compiling, i.e. "javac file.java". You need to put the
- path to javac in your path statement and call it while in the directory
- where the class you are compiling is located.
-
- Jim
-
-
-